﻿using System;
using System.ComponentModel.DataAnnotations;

namespace iTeamyou.LTS.Core.Models
{
    public class BatchLicenseAttachment
    {
        /// <summary>
        /// 附件唯一标识
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 证照id
        /// </summary>
        public string LicenseId { get; set; }

        /// <summary>
        /// 附件名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 附件URL
        /// </summary>
        public string? URL { get; set; }

        /// <summary>
        /// 附件物理路径
        /// </summary>
        public string? Path { get; set; }

        /// <summary>
        /// 附件文件大小
        /// </summary>
        public long FileSize { get; set; }

        /// <summary>
        /// 附件内容
        /// </summary>
        public string? FileContent { get; set; }

        /// <summary>
        /// 是否主附件
        /// </summary>
        public bool IsMain { get; set; }

        /// <summary>
        /// 附件类型
        /// </summary>
        public string? ContentType { get; set; }

        [Required]
        public BatchLicense License { get; set; }
    }
}

